#ifndef FUZZY_CONTROLLER_H_
#define FUZZY_CONTROLLER_H_
#include<stdio.h>
#include<string.h>
#include<math.h>

#define  N  7//定义量化论域模糊子集的个数


#define NB -3
#define NM -2
#define NS -1
#define ZO 0
#define PS 1
#define PM 2
#define PB 3


void Fuzzy_contrller_Init(float e_max,float de_max,float u_max);
float trimf(float x,float a,float b,float c);
float realize(float t,float a);



#endif
